import React from 'react';
import { View, Text } from 'react-native';

const Sidebar = ({ navigation }) => {
  return (
    <View style={styles.container}>
      <Text onPress={() => navigation.navigate('Home')}>首页</Text>
      <Text onPress={() => navigation.navigate('Playlists')}>播放列表</Text>
      <Text onPress={() => navigation.navigate('Settings')}>设置</Text>
    </View>
  );
};

export default Sidebar;